/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jipengfei
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.service;

import com.eyaomall.wxmall.model.po.Shop;

/**
 * 店铺service接口
 * @author jipengfei
 *
 */
public interface ShopService {

	/**
	 * 根据id查询店铺详情
	 */
	public Shop queryById(Integer id);
	
	/**
	 * 根据微信公众号appid查询店铺信息
	 * @param appId
	 * @return
	 */
	public Shop queryByWxAppId(String appId);
	
	/**
	 * 根据id查询店铺详情
	 */
	public Shop queryShop(Integer id);

	/**
	 * 根据id判断是否失效
	 * @param shopId
	 * @return
	 */
	public Shop queryShopInvalid(Integer shopId);
}
